
package com.scs.application.modules.order.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.scs.application.modules.order.entity.DeliveryItem;
import com.scs.application.modules.order.request.DeliveryItemQueryRequest;
import com.scs.application.modules.order.vo.DeliveryItemRfidVo;
import com.scs.application.modules.order.vo.DeliveryItemVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 发货单明细 mapper对象
 *
 */
@Mapper
public interface DeliveryItemMapper extends BaseMapper<DeliveryItem> {

    List<DeliveryItemVO> list(@Param("request") DeliveryItemQueryRequest request);

    Page<DeliveryItemVO> deliveryItemPage(IPage page, @Param("request") DeliveryItemQueryRequest request);

    List<DeliveryItemRfidVo> deliveryItemRfids(@Param("deliveryId") String deliveryId, @Param("sn") String sn, @Param("rfid") String rfid);

    List<DeliveryItemRfidVo> deliveryHospitalRfids(@Param("hospitalId") String hospitalId,@Param("rfid") String rfid);

}
